<template>
  <div>
    <button @click="fun">请求</button>
  </div>
</template>

<script>
  export default {
    name: '',
    methods: {
      fun() {
        let data = {
          account: 'admin88',
          password: '123456'
        }
        this.$httpForm('/web/user1/login.do', data).then(res => {
          if (res != null && res.status == 'OK') {
            console.log('请求成功')
          } else {
            //console.log(res.message)
          }
        })
      }
    }
  };
</script>

<style scoped>

</style>

